﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.Finance
{
    [ExcelExporter(Name = "客户应收余额调整申请流程", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetKHYSYETZOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 申请序号
        /// </summary>
        [ExporterHeader(DisplayName = "申请序号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 公司代码
        /// </summary>
        [ExporterHeader(DisplayName = "公司代码")]
        public string CompanyCode { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [ExporterHeader(DisplayName = "公司名称")]
        public string CompanyName { get; set; }

        /// <summary>
        /// 信控范围
        /// </summary>
        [ExporterHeader(DisplayName = "信控范围")]
        public string InfoControl { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [ExporterHeader(DisplayName = "客户类型")]
        public string CustomerType { get; set; }

        /// <summary>
        /// 财务调整科目
        /// </summary>
        [ExporterHeader(DisplayName = "财务调整科目")]
        public string AdjustSubject { get; set; }

        /// <summary>
        /// 客户预计年保理业务量（立邦相关）
        /// </summary>
        [ExporterHeader(DisplayName = "客户预计年保理业务量（立邦相关）(千元)")]
        public string BusinessVolume1 { get; set; }

        /// <summary>
        /// 调整金额总计(单位：元)
        /// </summary>
        [ExporterHeader(DisplayName = "调整金额总计(单位：元)")]
        public string AmountTotal { get; set; }

        /// <summary>
        /// 事业群
        /// </summary>
        [ExporterHeader(DisplayName = "事业群")]
        public string BusinessGroup { get; set; }

        /// <summary>
        /// 销售大区
        /// </summary>
        [ExporterHeader(DisplayName = "销售大区")]
        public string SalesRegion { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心")]
        public string CostCentre{ get; set; }

        /// <summary>
        /// 成本中心名称
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心名称")]
        public string CostCentreName { get; set; }

        /// <summary>
        /// 利润中心
        /// </summary>
        [ExporterHeader(DisplayName = "利润中心")]
        public string ProfitCentre { get; set; }

        /// <summary>
        /// 调整原因
        /// </summary>
        [ExporterHeader(DisplayName = "调整原因")]
        public string Reason { get; set; }

        /// <summary>
        /// 同步结果
        /// </summary>
        [ExporterHeader(DisplayName = "同步结果")]
        public string SyncResult { get; set; }

        /// <summary>
        /// 同步信息
        /// </summary>
        [ExporterHeader(DisplayName = "同步信息")]
        public string SyncMessage { get; set; }

        /// <summary>
        /// 保理银行
        /// </summary>
        [ExporterHeader(DisplayName = "保理银行")]
        public string FactoringBank { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SortNo { get; set; }

        /// <summary>
        /// 客户代码
        /// </summary>
        [ExporterHeader(DisplayName = "客户代码")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "行业")]
        public string Industry { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessNo { get; set; }

        /// <summary>
        /// 商机描述
        /// </summary>
        [ExporterHeader(DisplayName = "商机描述")]
        public string BusinessDesc { get; set; }

        /// <summary>
        /// 调整类型
        /// </summary>
        [ExporterHeader(DisplayName = "调整类型")]
        public string AdjustType { get; set; }

        /// <summary>
        /// 调整金额（元）
        /// </summary>
        [ExporterHeader(DisplayName = "调整金额（元）")]
        public string AdjustAmount { get; set; }

        /// <summary>
        /// 开票税率
        /// </summary>
        [ExporterHeader(DisplayName = "开票税率")]
        public string TaxRate { get; set; }

        /// <summary>
        /// 金额（不含税）
        /// </summary>
        [ExporterHeader(DisplayName = "金额（不含税）")]
        public string NoTaxAmount { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        [ExporterHeader(DisplayName = "税额")]
        public string TaxAmount { get; set; }
    }
}